Duplicator\Libs\Snap\SnapIO D

Total Complexity 312
Dependencies 6
Dependents 51
Total lines 1,735
Lines of code 919
Logical lines of code 585
Comment lines 583
Methods 55
Properties 0

Methods 55

Method Rating Maintainability Complexity Lines of code
chmod()
C
35 27 81
regexGlobCallbackPrivate()
B
42 20 48
copyFilePart()
A
45 15 41
appendFileToFile()
A
44 14 42
mkdirP()
A
46 12 36
regexGlobCallback()
A
49 10 31
rcopy()
A
51 10 28
emptyDir()
A
50 10 27
getLastLinesOfFile()
A
47 9 36
serveFileForDownload()
A
48 8 33
getCommonPath()
A
50 8 29
rrmdir()
A
53 8 24
fopen()
A
53 8 23
sortBySubfoldersCount()
A
54 8 21
isChildPath()
A
55 8 19
rename()
A
57 8 17
filePutContents()
S
54 7 19
fseek()
S
55 7 17
dirAddFullPermsAndCheckResult()
S
61 7 12
tailFile()
S
51 6 25
unlink()
S
58 6 16
getInclude()
S
56 5 19
fwriteChunked()
S
56 5 17
mkdir()
S
59 5 14
permsToString()
S
62 5 11
normalizePath()
S
57 4 16
dirWriteCheckOrMkdir()
S
63 5 9
getRelativePath()
S
58 4 14
getOpenBaseDirRootOfPath()
S
64 4 9
fileAddFullPermsAndCheckResult()
S
65 4 9
rmdir()
S
63 4 10
rm()
S
63 4 10
touch()
S
65 3 9
diskFreeSpace()
S
65 3 9
safePathUntrailingslashit()
S
64 3 10
copy()
S
65 3 10
fclose()
S
72 3 5
diskTotalSpace()
S
65 3 9
safePath()
S
64 3 10
getOpenBaseDirPaths()
S
70 2 6
getRelativeDirname()
S
70 2 6
getMaxAllowedRootOfPath()
S
64 2 9
ftell()
S
67 2 8
filesize()
S
68 2 7
fwrite()
S
66 2 8
fgets()
S
68 2 7
isStream()
S
66 2 8
filemtime()
S
68 2 7
flock()
S
72 2 5
regexGlob()
S
69 1 7
safePathTrailingslashit()
S
78 1 3
trailingslashit()
S
78 1 3
isOpenBaseDirEnabled()
S
75 1 4
untrailingslashit()
S
79 1 3
removeRootPath()
S
78 1 3